package DataBase

import (
	Model "work1/Models"
)

func init() {
	if err := DB.AutoMigrate(&Model.Server{}, &Model.Task{}, &Model.Domain{}, &Model.Authentication{}, &Model.Account{}); err != nil {
		panic("数据迁移失败：" + err.Error())
	}
}
